using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace KeyCore.Domain.Model
{
    public class UserRoles
    {
        [Key]
        public int RoleId { get; set; }

        public virtual ICollection<User> Users { get; set; }

        [Required]
        [StringLength(50)]
        public string RoleName { get; set; }
    }
}
